package aliyun.cx.admin.service;

import aliyun.cx.admin.entity.Album;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 相册Service接口
 */
public interface AlbumService extends IService<Album> {
    
    /**
     * 分页查询相册列表
     */
    Page<Album> getAlbumPage(Integer current, Integer size, String name);
    
    /**
     * 根据名称检查相册是否存在
     */
    boolean checkAlbumExists(String name, Long excludeId);
}
